﻿@model FILSTARTUPS_MOBILE.Helpers.PaginatedList<FILSTARTUPS_MOBILE.ViewModels.PostInfo>

@{
    ViewBag.Title = "PostArchieves";
    Layout = "~/Views/Shared/_LayoutArticles.cshtml";
}

<h2>PostArchieves</h2>

@foreach (var item in Model)
{
    <fieldset>    
        <legend>SAMPLE</legend>       
  PostidPK  @item.postidPK
    @item.posttitle
    </fieldset>

}

<div class="pagination">
    @if (Model.HasPreviousPage)
    {
        @Html.RouteLink("<<< Previous Page" ,
                                      "ArticlePaging", new { catidPK = 19, page = (Model.PageIndex - 1) })
    }
    
    @if (Model.HasNextPage)
    {
        @Html.RouteLink("Next Page >>> ",
                                       "ArticlePaging", new { catidPK= 19,page = (Model.PageIndex + 1) })
    }
</div>



@*@Html.ActionLink("Next", "PostArchieves", new { catidFK = ViewBag.catid,page = ViewBag.page , next = true })*@